package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 盘点表 t_stocktaking
 * 
 * @author ruoyi
 * @date 2019-05-08
 */
public class TStocktaking extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 自增长列主键 */
	private Long stockId;
	/**商品id*/
	private Long inventory;
	/** 条形码 */
	@Excel(name = "条形码")
	private String barcode;
	/** 饰品名称 */
	@Excel(name = "饰品名称")
	private String name;
	/** 门店 */
	private Long deptId;
	/** 品类 */
	private String category;
	/** 品种 */
	private String variety;
	/** 重量(g) */
	@Excel(name = "重量(g)")
	private String weight;
	/** 标签价格 */
	@Excel(name = "标签价格")
	private String labelprice;
	/** 入库时间 */
	@Excel(name = "入库时间")
	private String indate;
	/** 盘点时间 */
	@Excel(name = "盘点时间")
	private String reckoningdate;
	/** 盘点人 */
	@Excel(name = "盘点人")
	private String reckoningman;
	/** 登记者 */
	@Excel(name = "登记者")
	private String registrant;
	@Excel(name = "备注")
	private String description;

	@Excel(name = "门店")
	private String deptName;
	@Excel(name = "品类")
	private String categoryName;
	@Excel(name = "品种")
	private String varietyName;

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public String getVarietyName() {
		return varietyName;
	}

	public void setVarietyName(String varietyName) {
		this.varietyName = varietyName;
	}

	public Long getInventory() {
		return inventory;
	}

	public void setInventory(Long inventory) {
		this.inventory = inventory;
	}

	public void setStockId(Long stockId)
	{
		this.stockId = stockId;
	}

	public Long getStockId() 
	{
		return stockId;
	}
	public void setBarcode(String barcode) 
	{
		this.barcode = barcode;
	}

	public String getBarcode() 
	{
		return barcode;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setDeptId(Long deptId) 
	{
		this.deptId = deptId;
	}

	public Long getDeptId() 
	{
		return deptId;
	}
	public void setCategory(String category) 
	{
		this.category = category;
	}

	public String getCategory() 
	{
		return category;
	}
	public void setVariety(String variety) 
	{
		this.variety = variety;
	}

	public String getVariety() 
	{
		return variety;
	}
	public void setWeight(String weight) 
	{
		this.weight = weight;
	}

	public String getWeight() 
	{
		return weight;
	}
	public void setLabelprice(String labelprice) 
	{
		this.labelprice = labelprice;
	}

	public String getLabelprice() 
	{
		return labelprice;
	}
	public void setIndate(String indate)
	{
		this.indate = indate;
	}

	public String getIndate()
	{
		return indate;
	}
	public void setReckoningdate(String reckoningdate)
	{
		this.reckoningdate = reckoningdate;
	}

	public String getReckoningdate()
	{
		return reckoningdate;
	}
	public void setReckoningman(String reckoningman) 
	{
		this.reckoningman = reckoningman;
	}

	public String getReckoningman() 
	{
		return reckoningman;
	}
	public void setRegistrant(String registrant) 
	{
		this.registrant = registrant;
	}

	public String getRegistrant() 
	{
		return registrant;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stockId", getStockId())
            .append("barcode", getBarcode())
            .append("name", getName())
            .append("deptId", getDeptId())
            .append("category", getCategory())
            .append("variety", getVariety())
            .append("weight", getWeight())
            .append("labelprice", getLabelprice())
            .append("indate", getIndate())
            .append("reckoningdate", getReckoningdate())
            .append("reckoningman", getReckoningman())
            .append("registrant", getRegistrant())
            .toString();
    }
}
